package edu.whu.puppygo.entity;

import edu.whu.puppygo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import java.time.LocalDateTime;

/**
 * @Author xinjiezhuang
 * @Date 2023-11-20
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
public class PetRecord extends BaseEntity {
    @ApiModelProperty("宠物体重")
    private String weight;

    @ApiModelProperty("宠物id")
    private Long petId;

    @ApiModelProperty("记录时间")
    private LocalDateTime recordTime;
}
